package com.mysoft.gfyx.common.rpc.opptyservice.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class GetBuAndUserResponseDto {
    private boolean success;
    private String message;
    private Bu data;

    @Data
    public static class Bu {
        private String bu_name = "";
        private String bu_guid = "";
        private List<User> users = new ArrayList<>();
        private List<Bu> child_bu = new ArrayList<>();
    }

    @Data
    public static class User {
        private String user_guid;
        private String user_name;
        private String mobile;
    }
}
